<?php
function smarty_function_count($params, &$smarty) {
    echo count($params['input']);
}
?>
